@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>考题管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="testTitle" name="考题" placeholder="考题" />
                            </div>
                            <div class="col-sm-3">
                                <!--<#NameCon id="titleType" name="考题类型" placeholder="考题类型" />-->
                                <#SelectCon id="titleType" name="考题类型" >
                                    <option value="">全部</option>
                                    <option value="口内">口内</option>
                                    <option value="口外">口外</option>
                                    <option value="口修">口修</option>
                                    <option value="口解">口解</option>
                                    <option value="咿呀文化">咿呀文化</option>
                                    <option value="其他">其他</option>
                                    <option value="咨询师">咨询师</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-1">
                                <#button name="搜索" icon="fa-search" clickFun="TestQuestions.search()"/>
                            </div>
                            <div class="col-sm-1">
                                <#button name="重置" icon="fa-search" clickFun="TestQuestions.resetSearch()"/>
                            </div>
                        </div>
                        @if(shiro.hasPermission("/mgr/add")){
                        <#button name="添加" icon="fa-plus" clickFun="TestQuestions.openAdd()"/>
                        @}
                        @if(shiro.hasPermission("/mgr/edit")){
                        <#button name="修改" icon="fa-edit" clickFun="TestQuestions.openChange()" space="true"/>
                        @}
                        @if(shiro.hasPermission("/mgr/delete")){
                        <#button name="删除" icon="fa-remove" clickFun="TestQuestions.delete()" space="true"/>
                        @}
                        @if(shiro.hasPermission("/mgr/delete")){
                        <#button name="导入试题" icon="fa-import" clickFun="TestQuestions.openimport()" space="true"/>
                        @}
                        @if(shiro.hasPermission("/mgr/delete")){
                        <#button name="导出试题" icon="fa-import" clickFun="TestQuestions.downLoadExcel()" space="true"/>
                        @}
                        <#table id="TestQuestionsTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/theTest/testQuestions.js"></script>
@}
